package demo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author Admin
 * @date 2022/11/8 17:47
 * @Description TODO
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Page<T> {
    //当前页
    private Integer currentPage;
    //每页几条数据
    private Integer pageSize;
    //总条数
    private Integer totalRecord;
    //每页查到的数据
    private List<T> lists;

}
